<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="javascript" type="text/javascript">
function toggleMe(val) 
{
	var designation = document.getElementById('designation');
	var organization = document.getElementById('organization');
	if(val=='Trainee')
	{
		designation.style.display = "block";
		organization.style.display = "block";
	}
	else
	{
		designation.style.display = "block";
		organization.style.display = "block";
	}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	<select name="select" onchange="toggleMe(this.value)">
		<option value="0">Select any one</option>
		<option type="checkbox" value="Trainee">Trainee</option>
		<option type="checkbox" value="Product">Product</option>
	</select>

	<input name="designation" type="text" id="designation" />
	<input name="organization" type="text" id="organization" />

</body>
</html>